package com.wuliang.generate.bean.vo.author;

import com.google.gson.annotations.Expose;
import com.wuliang.generate.common.core.basic.BaseVo;
import com.wuliang.generate.bean.entities.author.AuthorUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author WuLiang
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "前后端交互参数——认证用户")
public class AuthorUserVo extends BaseVo<AuthorUser> {

    @Expose
    @ApiModelProperty(name = "authorUserId", value = "认证用户主键", dataType = "int")
    private Integer authorUserId;

    @Expose
    @ApiModelProperty(name = "userUsername", value = "登录账号", dataType = "string")
    private String userUsername;

    @Expose
    @ApiModelProperty(name = "userPassword", value = "登录密码", dataType = "string")
    private String userPassword;

    @Expose
    @ApiModelProperty(name = "userTelephone", value = "用户手机号", dataType = "string")
    private String userTelephone;

    @Expose
    @ApiModelProperty(name = "userOpenid", value = "微信用户唯一性标识", dataType = "string")
    private String userOpenid;

    @Expose
    @ApiModelProperty(name = "userNick", value = "用户昵称", dataType = "string")
    private String userNick;

    @Expose
    @ApiModelProperty(name = "wxUserFrom", value = "注册渠道(0：PC端；1：微信端；)", dataType = "string")
    private int wxUserFrom;

    @Expose
    @ApiModelProperty(name = "verifyCode", value = "验证码", dataType = "string")
    private String verifyCode;

}
